package org.njo.webapp.templates.config;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 
 * @author yu.peng
 */
public class FormatterConfig {

    private String id;
    private String className;
    private Map<String, ParamConfig> params = new LinkedHashMap<String, ParamConfig>();
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Map<String, ParamConfig> getParams() {
        return params;
    }

    public void addParamConfig(ParamConfig param) {
        params.put(param.getName(), param);
    }
    
}
